package com.project.springboot.java8;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * description: 职工实体类
 * @author 朱正磊
 * @date 2024-01-16 11:01:44
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee {

    /**
     * 主键
     */
    private Integer id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 薪资
     */
    private Double salary;

}
